home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d7
/
hp100b1.arc
/
TESTEXT.SLT
< prev
next >
Wrap
Text File
|
1991-02-28
|
665b
|
22 lines
// Sample extension script for remote (non-local) mode (TESTEXT.SLT)
// Copyright (C) CompuProducts Ent. 1990
// Author: Jason H. Tepperman
//
// Notice the carrier checking. Since this is a remote script we need it, but
// in a local mode script we wouldn't. This is the main reason we have the
// sans 'L' and the 'L' versions of the two scripts. As per spec, this is
// the sans 'L' version
main(){
if (!carrier()) {
pstra("Carrier is not detected. Use the local extension instead ...",12);
prints("^M^J");
return;
}
cputs("^M^JThis is the remote version of the sample extension script ...^M^J^M^J");
}